﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.DocModel.APIParam
{
    /// <summary>
    /// 需要登录才能访问的参数
    /// </summary>
    public class BaseParam
    {
        /// <summary>
        /// 登录成功返回的用户代码
        /// </summary>
        [Required(ErrorMessage = "用户编码不能为空")]
        public string userid { get; set; }
    }
    /// <summary>
    ///  不需要传递用户内部编码
    /// </summary>
    public class BaseParamIgnore
    {
        /// <summary>
        /// 登录成功返回的用户代码
        /// </summary>
        public string userid { get; set; }
    }
}
